<%@page trimDirectiveWhitespaces="true"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib prefix="tags" tagdir="/WEB-INF/tags"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!-- Errors -->
<!-- Retrieval lost account form -->
<div id="user_datas">
 <div id="errorData" class="formCachedError">
  <spring:message code="error.field.error.begin" />
  "<span id="fieldName"></span>"
  <spring:message code="error.field.error.end" />
 </div>
 <div id="fieldError" class="formCachedError"></div>
 <div id="errorMailRegex" class="formCachedError">
  <spring:message code="error.mail.regex" />
 </div>
 <div id="errorList" class="formError">
  <c:forEach items="${errorList}" var="error">
   <spring:message code="${error}" />
   <br />
  </c:forEach>
 </div>
 <form:form method="post" action="../retrieve/account" commandName="lost">
  <!-- 1st line -->
  <tags:columnInputText label="label.mail" id="mail" mandatory="true" big="true" />
  <!-- Last line before -->
  <c:if test="${recaptchaEnabled}">
   <tags:reCaptcha />
  </c:if>
  <div class="formBigColumn">
   <input type="submit" value="<spring:message code="label.retrieve.account"/>" />
  </div>
  <div class="clear"></div>
 </form:form>

</div>